package com.kwan80gmail.flextime.models;

import java.sql.Time;
import java.util.Date;

/**
 * Created by Kevin on 2015-03-28.
 */
public class Place_Data
{
    private Date session_date;
    private String session_start;
    private String session_end;
    private String duration;
    private int locationId_fk;

    public Place_Data(Date session_date, String session_start, int locationId_fk)
    {
        this.session_date = session_date;
        this.session_start = session_start;
        this.locationId_fk = locationId_fk;
    }

    public Place_Data(Date session_date, String session_start, String session_end, String duration, int locationId_fk)
    {
        this.session_date = session_date;
        this.session_start = session_start;
        this.session_end = session_end;
        this.duration = duration;
        this.locationId_fk = locationId_fk;
    }

    public Date getSession_date()
    {
        return session_date;
    }

    public void setSession_date(Date session_date)
    {
        this.session_date = session_date;
    }

    public String getSession_start()
    {
        return session_start;
    }

    public void setSession_start(String session_start)
    {
        this.session_start = session_start;
    }

    public String getSession_end()
    {
        return session_end;
    }

    public void setSession_end(String session_end)
    {
        this.session_end = session_end;
    }

    public String getDuration()
    {
        return duration;
    }

    public void setDuration(String duration)
    {
        this.duration = duration;
    }

    public int getLocationId_fk()
    {
        return locationId_fk;
    }

    public void setLocationId_fk(int locationId_fk)
    {
        this.locationId_fk = locationId_fk;
    }

    public String toSttring()
    {
        String data = session_date + " " + session_start + " " + session_end + " " + duration + " " + locationId_fk;

        return data;
    }
}
